function Person(name,age) {
  this.name = name;
  this.age = age;
}

Person.prototype.speci = '人类';
let zhen = new Person('郑总',18);
console.log(zhen.speci);// 人类
const kong = {
  name: '孔子',
  hobbies: ['读书','喝酒']
}
zhen.__proto__ = kong;
console.log(zhen.hobbies,zhen.speci);// ['读书','喝酒'] undefined
